package liangweitest.export;

import com.careers.liangweicenter.grid.api.dao.IAreaGridDao;
import com.careers.liangweicenter.grid.api.domain.AreaGrid;
import org.springframework.beans.factory.annotation.Autowired;

/**
 * 导出网格数据
 * @className: gridDemo
 * @author: junjie
 * @date: 2022-08-23 13:37
 */
public class GridDemo {

    @Autowired
    private IAreaGridDao iAreaGridDao;

    public static void main(String[] args) {
        GridDemo gridDemo = new GridDemo();
        gridDemo.testAGID();
    }

    public  void testAGID(){
        AreaGrid areaGrid = iAreaGridDao.getById(1L);
        System.out.println(areaGrid.getAreaName());
    }
}
